package com.design_pattern.adapter;

import org.junit.jupiter.api.Test;

public class Client {

    @Test
    public  void test(){
        HomeBattery homeBattery = new HomeBattery();
        Adapter adapter = new Adapter();
        int conversion = adapter.convert(homeBattery.supply());
        USBBattery usbBattery = new USBBattery();
        usbBattery.charge(conversion);
    }
}
